GrapeCity MultiRow Windows Forms Documentation
Register(ViewMode,IAction,Keys[]) Method


The ViewMode to register the ShortcutKey to.
The action to execute.
The corresponding keys.
Registers a set of ShortcutKeys to the specified ViewMode.
Syntax
Public Overloads Sub Register( _
   ByVal viewMode As ViewMode, _
   ByVal action As IAction, _
   ByVal ParamArray keys() As Keys _
) 
Dim instance As ShortcutKeyManager
Dim viewMode As ViewMode
Dim action As IAction
Dim keys() As Keys
 
instance.Register(viewMode, action, keys)
public void Register( 
   ViewMode viewMode,
   IAction action,
   params Keys[] keys
)

Parameters

viewMode
The ViewMode to register the ShortcutKey to.
action
The action to execute.
keys
The corresponding keys.
Exceptions
ExceptionDescription
System.ArgumentNullException

The action is a null reference (Nothing in Visual Basic).

-or-

The keys is a null reference (Nothing in Visual Basic).

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ShortcutKeyManager Class
ShortcutKeyManager Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.